<template>
  <div class="container">
    <van-nav-bar left-arrow title="标题" @click-left="$router.go(-1)" />
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item
        ><van-image
          width="10rem"
          height="10rem"
          fit="cover"
          src="https://img01.yzcdn.cn/vant/cat.jpeg"
      /></van-swipe-item>
    </van-swipe>
    <div class="bottom-nav">
      <a href="#">
        <div class="grid"><van-icon name="star-o" />收藏</div></a
      >
      <a href="#"><div class="grid">在线咨询</div></a>
      <a href="#"><div class="grid grid-active">电话预约</div></a>
    </div>
  </div>
</template>

<script>
export default {
  name: 'detail-page',
  components: {},
  props: {},
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  methods: {}
}
</script>

<style scoped lang="less">
.container {
  width: 100vw;
  height: 100vh;
  overflow: auto;
}
.bottom-nav {
  position: fixed;
  display: flex;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  .grid {
    width: 125px;
    height: 100%;
    border: 1px solid #ccc;
    font-size: 17px;
    color: #999;
  }
  .grid-active {
    color: #fff;
    background-color: #21b97a;
  }
}
/deep/.van-swipe {
  width: 375px;
  height: 252px;
  /deep/.vant-image {
    width: 375px;
    height: 252px;
  }
}
</style>
